/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.mine.dependencies.login;



import com.yiqi.liebang.feature.login.contract.LoginContract;
import com.yiqi.liebang.feature.login.presenter.LoginPresenter;
import com.yiqi.liebang.feature.mine.contract.UserContract;
import com.yiqi.liebang.feature.mine.presenter.UserPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class UserPresenterModule {
    private final UserContract.View mView;

    public UserPresenterModule(UserContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public UserContract.Presenter provideLoginPresenter(){
        return  new UserPresenter(mView);
    }

}
